package com.atguigu.gmall.starter;

import com.atguigu.gmall.starter.annotation.EnableAppRedissonAndCache;
import com.atguigu.gmall.starter.annotation.EnableAutoCache;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.context.annotation.Configuration;

/**
 * 缓存的自动配置
 */
@AutoConfigureAfter(RedisAutoConfiguration.class)
@Configuration
@EnableAutoCache
@EnableAppRedissonAndCache // 既能用缓存组件,又能用redissonclient
public class CacheStaterAutoConfig {

    //要自动启动运行
}
